
    import Router from '@koa/router';    
    import BannerController from '@/controllers/banner.controller'
    const bannerRouter = new Router({ prefix: '/banner' });
    bannerRouter.post('/selectList', BannerController.selectList);
    bannerRouter.post('/selectOne', BannerController.selectOne);
    bannerRouter.post('/add', BannerController.add);
    bannerRouter.post('/update', BannerController.update);
    bannerRouter.post('/delete', BannerController.delete);    
    bannerRouter.post('/sort', BannerController.sort);    

    export default bannerRouter;
    
    